package com.dc.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 危险品品出入库记录表
 * 
 * @author feishaobin
 * @email 
 * @date 2021-11-17 13:33:47
 */
@Data
@TableName("dc_ware_house_detail")
@ApiModel
public class WareHouseDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	/**
	 * 关联dc_ware_house_relation表id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long relationId;
	/**
	 * 出/入库 关联dc_ware_house表id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long houseId;
	/**
	 * 出/入库数量
	 */
	@ApiModelProperty(value = "出/入库数量")
	private Integer stockNum;
	/**
	 * 危险品名称
	 */
	@ApiModelProperty(value = "危险品名称")
	private String goodsName;
	/**
	 * 规格
	 */
	@ApiModelProperty(value = "规格")
	private String specs;
	/**
	 * 计量单位
	 */
	@ApiModelProperty(value = "计量单位")
	private String unitMeasure;
	/**
	 * 火灾危险等级
	 */
	@ApiModelProperty(value = "火灾危险等级")
	private String grade;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;

}
